﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using GH.BLL;

/// <summary>
/// 会员统计画面
/// </summary>
public partial class VipSumirise : GH.Web.BasePage.PageBase
{

    #region 画面级变量

    public DataTable mdtResult = new DataTable();

    #endregion

    #region 画面初始化

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            DataShow();
        }
    }


    #endregion

    #region 画面方法


    /// <summary>
    /// 画面数据显示
    /// </summary>
    private void DataShow()
    {
        VipMember bllVip = new VipMember();
        //操作其他单位会员权限
        if (this.GetRight(201))
        {
            mdtResult = bllVip.GetVipSumirise(int.Parse(Session["Union"].ToString()),"0");
        }
        else
        {
            mdtResult = bllVip.GetVipSumirise(int.Parse(Session["Union"].ToString()), "1");
        }
        
    }

    #endregion

}

